bring (someone) down a peg

Translations
rabaisser quelqu'un d'un cran
Definitions
To humble someone or reduce their sense of importance, often by pointing out their flaws or correcting their behavior.